@import '../popup/index.scss';

.nut-theme-dark {
  .nut-short-password-title {
    color: $dark-color;
  }

  .nut-short-password-wrapper {
    .nut-short-password__list {
      border: none;
      background: $dark-background3;

      .nut-short-password__item {
        position: relative;
        .nut-short-password__item-icon {
          background: $dark-color;
        }

        &::after {
          position: absolute;
          box-sizing: border-box;
          content: ' ';
          pointer-events: none;
          top: -50%;
          right: -50%;
          bottom: -50%;
          left: -50%;
          outline: 1px solid #3a3a3c;
          transform: scale(0.5);
        }
      }
    }
  }
}

.nut-short-password-title {
  line-height: 1;
  font-size: $font-size-3;
  color: $title-color;
}

.nut-short-password-subtitle {
  display: block;
  margin-top: 12px;
  line-height: 1;
  font-size: $font-size-1;
  color: $text-color;
}

.nut-short-password-wrapper {
  padding: 12px 0 10px 0;
  text-align: center;
  position: relative;
}

.nut-short-password__list {
  width: 100%;
  height: 41px;
  margin: 0 auto;
  background: $shortpassword-background-color;
  border-radius: 4px;
  border: 1px solid $shortpassword-border-color;
  display: flex;
  z-index: 10;
}

.nut-short-password__item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nut-short-password__item-icon {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #000;
  display: inline-block;
}

.nut-short-password__message {
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  width: 247px;

  .nut-short-password--error {
    line-height: 1;
    font-size: $font-size-0;
    color: $shortpassword-error;
  }

  .nut-short-password--forget {
    line-height: 1;
    font-size: $font-size-1;
    color: $shortpassword-forget;
    display: flex;
  }
}
